#!/usr/bin/env bash

SCRIPT_DIR=$(cd "$(dirname "$0")"; pwd)

PATHS=( \
    dlls/ntdll/ntdll.dll.so \
    dlls/kernelbase/kernelbase.dll.so \
    dlls/kernel32/kernel32.dll.so \
)

for NAME in ${PATHS[@]}; do
    ln -sf "$HOME/code/wine-dev/dist/$NAME" "${SCRIPT_DIR}/dlls/dllso-x64/"
done
